-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add CachingLocator. #14020
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add CachingLocator. #14020
Conversation
390f221
to
48445b7
Compare
48445b7
to
85b2b6b
Compare
85b2b6b
to
e41ccef
Compare
Codecov Report
@@ Coverage Diff @@
## main #14020 +/- ##
==========================================
+ Coverage 59.96% 60.04% +0.07%
==========================================
Files 706 710 +4
Lines 39180 39420 +240
Branches 5681 5708 +27
==========================================
+ Hits 23494 23668 +174
- Misses 14449 14501 +52
- Partials 1237 1251 +14
Continue to review full report at Codecov.
|
e41ccef
to
5fabd2a
Compare
@kimadeline and @karrtikr, I should have left this as a draft PR. I'll let you know when I've wrapped up the last few changes I have to make. |
5fabd2a
to
0d8f49d
Compare
@kimadeline, @karrtikr, the PR is ready to go now. |
0d8f49d
to
9e97735
Compare
src/client/pythonEnvironments/base/locators/composite/cachingLocator.ts
Outdated
Show resolved
Hide resolved
src/client/pythonEnvironments/base/locators/composite/cachingLocator.ts
Outdated
Show resolved
Hide resolved
src/client/pythonEnvironments/base/locators/composite/cachingLocator.ts
Outdated
Show resolved
Hide resolved
src/client/pythonEnvironments/base/locators/composite/cachingLocator.ts
Outdated
Show resolved
Hide resolved
src/client/pythonEnvironments/base/locators/composite/cachingLocator.ts
Outdated
Show resolved
Hide resolved
src/client/pythonEnvironments/base/locators/composite/cachingLocator.ts
Outdated
Show resolved
Hide resolved
Since Kartik is out, you may want to request a review from @karthiknadig, because I don't want to shoulder the responsibility of reviewing this PR alone 😆 |
@ericsnowcurrently @kimadeline I just had one comment regarding potential correctness #14020 (comment) I leave the rest upto you guys😄 |
9e97735
to
4cc412e
Compare
abf86c3
to
e8914f6
Compare
Will re-review this afternoon. |
resetting "checks" trigger |
Kudos, SonarCloud Quality Gate passed!
|
Codecov Report
@@ Coverage Diff @@
## main #14020 +/- ##
==========================================
- Coverage 59.91% 59.91% -0.01%
==========================================
Files 709 712 +3
Lines 39334 39520 +186
Branches 5698 5722 +24
==========================================
+ Hits 23567 23678 +111
- Misses 14529 14586 +57
- Partials 1238 1256 +18
Continue to review full report at Codecov.
|
Note that we factored out the BackgroundRequestLooper class to keep CachingLocator focused, especially as it was important to deal with one "refresh" at a time.
Note that I factored out the
BackgroundRequestLooper
class to keepCachingLocator
focused, especially as I found it was important to deal with one "refresh" at a time.[ ] Has a news entry file (remember to thank yourself!).[ ] Has telemetry for enhancements.[ ] Test plan is updated as appropriate.[ ]package-lock.json
has been regenerated by runningnpm install
(if dependencies have changed).[ ] The wiki is updated with any design decisions/details.